3.72 \(\int (a+b (F^{g (e+f x)})^n) (c+d x)^m \, dx\)

Optimal. Leaf size=116 \[ \frac {a (c+d x)^{m+1}}{d (m+1)}+\frac {b (c+d x)^m \left (F^{e g+f g x}\right )^n F^{g n \left (e-\frac {c f}{d}\right )-g n (e+f x)} \left (-\frac {f g n \log (F) (c+d x)}{d}\right )^{-m} \Gamma \left (m+1,-\frac {f g n (c+d x) \log (F)}{d}\right )}{f g n \log (F)} \]

[Out]

a*(d*x+c)^(1+m)/d/(1+m)+b*F^((e-c*f/d)*g*n-g*n*(f*x+e))*(F^(f*g*x+e*g))^n*(d*x+c)^m*GAMMA(1+m,-f*g*n*(d*x+c)*l
n(F)/d)/f/g/n/ln(F)/((-f*g*n*(d*x+c)*ln(F)/d)^m)

________________________________________________________________________________________

Rubi [A]  time = 0.13, antiderivative size = 116, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {2183, 2182, 2181} \[ \frac {b (c+d x)^m \left (F^{e g+f g x}\right )^n F^{g n \left (e-\frac {c f}{d}\right )-g n (e+f x)} \left (-\frac {f g n \log (F) (c+d x)}{d}\right )^{-m} \text {Gamma}\left (m+1,-\frac {f g n \log (F) (c+d x)}{d}\right )}{f g n \log (F)}+\frac {a (c+d x)^{m+1}}{d (m+1)} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*(F^(g*(e + f*x)))^n)*(c + d*x)^m,x]

[Out]

(a*(c + d*x)^(1 + m))/(d*(1 + m)) + (b*F^((e - (c*f)/d)*g*n - g*n*(e + f*x))*(F^(e*g + f*g*x))^n*(c + d*x)^m*G
amma[1 + m, -((f*g*n*(c + d*x)*Log[F])/d)])/(f*g*n*Log[F]*(-((f*g*n*(c + d*x)*Log[F])/d))^m)

Rule 2181

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> -Simp[(F^(g*(e - (c*f)/d))*(c +
d*x)^FracPart[m]*Gamma[m + 1, (-((f*g*Log[F])/d))*(c + d*x)])/(d*(-((f*g*Log[F])/d))^(IntPart[m] + 1)*(-((f*g*
Log[F]*(c + d*x))/d))^FracPart[m]), x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 2182

Int[((b_.)*(F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Dist[(b*F^(g*(e +
f*x)))^n/F^(g*n*(e + f*x)), Int[(c + d*x)^m*F^(g*n*(e + f*x)), x], x] /; FreeQ[{F, b, c, d, e, f, g, m, n}, x]

Rule 2183

Int[((a_) + (b_.)*((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.))^(p_.)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> In
t[ExpandIntegrand[(c + d*x)^m, (a + b*(F^(g*(e + f*x)))^n)^p, x], x] /; FreeQ[{F, a, b, c, d, e, f, g, m, n},
x] && IGtQ[p, 0]

Rubi steps

\begin {align*} \int \left (a+b \left (F^{g (e+f x)}\right )^n\right ) (c+d x)^m \, dx &=\int \left (a (c+d x)^m+b \left (F^{e g+f g x}\right )^n (c+d x)^m\right ) \, dx\\ &=\frac {a (c+d x)^{1+m}}{d (1+m)}+b \int \left (F^{e g+f g x}\right )^n (c+d x)^m \, dx\\ &=\frac {a (c+d x)^{1+m}}{d (1+m)}+\left (b F^{-n (e g+f g x)} \left (F^{e g+f g x}\right )^n\right ) \int F^{n (e g+f g x)} (c+d x)^m \, dx\\ &=\frac {a (c+d x)^{1+m}}{d (1+m)}+\frac {b F^{\left (e-\frac {c f}{d}\right ) g n-g n (e+f x)} \left (F^{e g+f g x}\right )^n (c+d x)^m \Gamma \left (1+m,-\frac {f g n (c+d x) \log (F)}{d}\right ) \left (-\frac {f g n (c+d x) \log (F)}{d}\right )^{-m}}{f g n \log (F)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]  time = 0.12, size = 0, normalized size = 0.00 \[ \int \left (a+b \left (F^{g (e+f x)}\right )^n\right ) (c+d x)^m \, dx \]

Verification is Not applicable to the result.

[In]

Integrate[(a + b*(F^(g*(e + f*x)))^n)*(c + d*x)^m,x]

[Out]

Integrate[(a + b*(F^(g*(e + f*x)))^n)*(c + d*x)^m, x]

________________________________________________________________________________________

fricas [A]  time = 0.44, size = 111, normalized size = 0.96 \[ \frac {{\left (b d m + b d\right )} e^{\left (\frac {{\left (d e - c f\right )} g n \log \relax (F) - d m \log \left (-\frac {f g n \log \relax (F)}{d}\right )}{d}\right )} \Gamma \left (m + 1, -\frac {{\left (d f g n x + c f g n\right )} \log \relax (F)}{d}\right ) + {\left (a d f g n x + a c f g n\right )} {\left (d x + c\right )}^{m} \log \relax (F)}{{\left (d f g m + d f g\right )} n \log \relax (F)} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(F^(g*(f*x+e)))^n)*(d*x+c)^m,x, algorithm="fricas")

[Out]

((b*d*m + b*d)*e^(((d*e - c*f)*g*n*log(F) - d*m*log(-f*g*n*log(F)/d))/d)*gamma(m + 1, -(d*f*g*n*x + c*f*g*n)*l
og(F)/d) + (a*d*f*g*n*x + a*c*f*g*n)*(d*x + c)^m*log(F))/((d*f*g*m + d*f*g)*n*log(F))

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left ({\left (F^{{\left (f x + e\right )} g}\right )}^{n} b + a\right )} {\left (d x + c\right )}^{m}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(F^(g*(f*x+e)))^n)*(d*x+c)^m,x, algorithm="giac")

[Out]

integrate(((F^((f*x + e)*g))^n*b + a)*(d*x + c)^m, x)

________________________________________________________________________________________

maple [F]  time = 0.08, size = 0, normalized size = 0.00 \[ \int \left (b \left (F^{\left (f x +e \right ) g}\right )^{n}+a \right ) \left (d x +c \right )^{m}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*(F^((f*x+e)*g))^n+a)*(d*x+c)^m,x)

[Out]

int((b*(F^((f*x+e)*g))^n+a)*(d*x+c)^m,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ {\left (F^{e g}\right )}^{n} b \int e^{\left (m \log \left (d x + c\right ) + n \log \left (F^{f g x}\right )\right )}\,{d x} + \frac {{\left (d x + c\right )}^{m + 1} a}{d {\left (m + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(F^(g*(f*x+e)))^n)*(d*x+c)^m,x, algorithm="maxima")

[Out]

(F^(e*g))^n*b*integrate(e^(m*log(d*x + c) + n*log(F^(f*g*x))), x) + (d*x + c)^(m + 1)*a/(d*(m + 1))

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \left (a+b\,{\left (F^{g\,\left (e+f\,x\right )}\right )}^n\right )\,{\left (c+d\,x\right )}^m \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*(F^(g*(e + f*x)))^n)*(c + d*x)^m,x)

[Out]

int((a + b*(F^(g*(e + f*x)))^n)*(c + d*x)^m, x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(F**(g*(f*x+e)))**n)*(d*x+c)**m,x)

[Out]

Timed out

________________________________________________________________________________________